package com.hj.jk;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.protocol.HTTP;
import org.apache.http.util.EntityUtils;
import org.json.JSONArray;
import org.json.JSONObject;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

public class UhyActivity extends Activity
{
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		try{
			JSONObject person= new JSONObject();
			
			person.put("user", "vgvy");   
		    person.put("pwd", "123456");   
			
			JSONArray records = new JSONArray();
			records.put("+").put("654321");
			person.put("phone", records);
			

			Log.d("hg", person.toString());
		} catch (Exception e) {
		}
	}
}